package com.graphqljava.demo.gql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.codecs.pojo.annotations.BsonId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * com.graphqljava.demo.gql.entity
 *
 * @author Oscar.Chen
 * @date 6/15/2020 11:59 PM
 */
@Document(collection = "pm_md_achieve_info")//集合名
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AchieveInfo {

    private static final long serialVersionUID = -8985545025018238754L;

    @Id
    @Field("_id")
    String _id;

    String id;
    String corpName;
    String projectName;
    String projectStatus;
    String projectType;
    String province;
    String quality;
    String remark;
    String technologyGrade;
    Long contractPrice;
    Long settlementPrice;
}
